emacs.git
14 years agoUpdate debian/changelog for 23.4+1-1 release.
Rob Browning [Wed, 21 Mar 2012 05:45:39 +0000 (00:45 -0500)]
Update debian/changelog for 23.4+1-1 release.

14 years agoAdd 0014-Fix-hang-after-C-z-in-gnome-shell.patch.
Rob Browning [Wed, 21 Mar 2012 05:40:02 +0000 (00:40 -0500)]
Add 0014-Fix-hang-after-C-z-in-gnome-shell.patch.

Emacs should no longer hang when C-z is pressed within the Gnome
shell.  Thanks to Nikolay Pelov <npelov@gmail.com> for the report.

Closes: #655592
14 years agoFix hang after C-z in gnome-shell.
Jan D [Sun, 30 Oct 2011 17:17:48 +0000 (18:17 +0100)]
Fix hang after C-z in gnome-shell.

Emacs should no longer hang when C-z is pressed within the Gnome
shell.

Applied-By: Rob Browning <rlb@defaultvalue.org>
Origin: upstream, commit: d3b65adf905c408aea986ff113cb3bc1b24d73e9
Bug-Debian: http://bugs.debian.org/655592

14 years agoDepend on libpng-dev rather than libpng12-dev.
Rob Browning [Mon, 19 Mar 2012 00:50:09 +0000 (19:50 -0500)]
Depend on libpng-dev rather than libpng12-dev.

Thanks to Nobuhiro Iwamatsu <iwamatsu@nigauri.org> for the report.

Closes: #662312
14 years agoUpdate debian/* for Emacs 23.4.
Rob Browning [Wed, 21 Mar 2012 05:39:25 +0000 (00:39 -0500)]
Update debian/* for Emacs 23.4.

14 years agoUpgrade to upstream version 23.4.
Rob Browning [Wed, 21 Mar 2012 05:36:51 +0000 (00:36 -0500)]
Upgrade to upstream version 23.4.

Emacs 23.4 includes grammars that were missing for some of its bison
parsers.  Thanks to Julian Andres Klode <jak@debian.org> for the
report.

Closes: #635938
14 years agoAdd a printf attribute to movemail.c to allow hardened build flags.
Rob Browning [Sun, 29 Jan 2012 19:42:57 +0000 (13:42 -0600)]
Add a printf attribute to movemail.c to allow hardened build flags.

Emacs should now support the -Wformat -Wformat-security
-Werror=format-security build flags.

Reported-by: Moritz Muehlenhoff <jmm@debian.org>
Author: Rob Browning <rlb@defaultvalue.org>
Date: Sun, 29 Jan 2012 13:51:13 -0600
Forwarded: bug-gnu-emacs@gnu.org
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655118
Applied-By: Rob Browning <rlb@defaultvalue.org>
14 years agoDefine POSIX_SIGNALS for GNU/Hurd.
Rob Browning [Sun, 29 Jan 2012 19:34:44 +0000 (13:34 -0600)]
Define POSIX_SIGNALS for GNU/Hurd.

Emacs will now use POSIX signals on GNU/Hurd which avoids a build
failure when a 15MiB-long write is interrupted by a signal, and Emacs
hasn't set the SA_RESTART flag.

Author: Samuel Thibault <sthibault@debian.org>
Date: Sun, 4 Dec 2011 19:47:54 +0100
Applied-By: Rob Browning <rlb@defaultvalue.org>
Forwarded: bug-gnu-emacs@gnu.org
Closes: #650976
14 years agoUse CRT_DIR to find crt*.o on ppc64.
Rob Browning [Wed, 26 Oct 2011 00:52:51 +0000 (19:52 -0500)]
Use CRT_DIR to find crt*.o on ppc64.

The Emacs build should now look for crt*.o in the correct multiarch
location during ppc64 builds.

Provided-by: Hiroyuki Yamamoto <yama1066@gmail.com>
Date: Wed, 26 Oct 2011 01:39:35 +0900
Applied-by: Rob Browning <rlb@defaultvalue.org>
Bug-Debian: http://bugs.debian.org/646609

14 years agoFix startup hang on Debian GNU/kFreeBSD.
Rob Browning [Tue, 5 Apr 2011 03:46:32 +0000 (22:46 -0500)]
Fix startup hang on Debian GNU/kFreeBSD.

Emacs should no longer hang on startup on Debian GNU/kFreeBSD.

Date: Thu Aug 12 04:21:09 UTC 2010
Added-by: Rob Browning <rlb@defaultvalue.org>
Provided-By: Petr Salinger <Petr.Salinger@seznam.cz>
Bug: 559392
Status: new

14 years agoInvoke the correct xmlstarlet executable on Debian systems.
Rob Browning [Tue, 5 Apr 2011 03:46:30 +0000 (22:46 -0500)]
Invoke the correct xmlstarlet executable on Debian systems.

Emacs now invokes the correct xmlstarlet executable on Debian systems.

Emacs invokes xmlstarlet rather than xml, which is the correct
executable name on Debian systems.

Provided-by: Jussi Judin <jjudin+debian@iki.fi>
Date: Sat, 20 Oct 2007 14:42:02 UTC
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific
Bug: 447378

14 years agoLook for NEWS in order to find etc/ rather than GNU.
Rob Browning [Tue, 5 Apr 2011 03:46:29 +0000 (22:46 -0500)]
Look for NEWS in order to find etc/ rather than GNU.

Emacs will now look for NEWS in order to find etc/ rather than GNU.

Since Debian doesn't include GNU in the Debian packages (the common
licenses are in /usr/share/common-licenses), Emacs will now look for
NEWS to find the etc directory instead of GNU.

Provided-by: Sven Joachim <svenjoac@gmx.de>
Originally-reported-by: Bernhard Michler <Boregard@gmx.net>
Date: Mon, 28 Apr 2008 11:20:23 +0200
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific

14 years agoModify the output of (version) to indicate Debian modifications.
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications.

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
14 years agoAvoid silently losing mail via fakemail.
Rob Browning [Tue, 5 Apr 2011 03:46:27 +0000 (22:46 -0500)]
Avoid silently losing mail via fakemail.

An attempt is made to avoid silently losing mail via fakemail.

This fix attempts to avoid a situation where Emacs can silently lose
mail.  This can occur if sendmail.el (at least) falls back to
fakemail, and the underlying binary (MAIL_PROGRAM_NAME) that fakemail
is configured to use doesn't exist.  Unless mail-interactive is true,
Emacs won't wait for the mailer and so won't know that fakemail
failed.

For now, Debian sets fakemail's MAIL_PROGRAM_NAME to /usr/bin/mail
(which is the correct value for Debian systems) rather than /bin/mail.
Debian also adjusts Emacs to test whether or not /usr/bin/mail exists
and is executable.  If either of these tests fail, then
mail-interactive is set to t.  That should ensure that a user will
actually see an error if they attempt to use the broken fakemail.

Note that Debian actually forces the MAIL_PROGRAM_NAME value to
/usr/bin/mail.  The build will fail if any other value is specified.
This is done to ensure that MAIL_PROGRAM_NAME isn't accidentally set
to some other value during the build process.  If this is undesirable
for some reason, just comment out avoid-fakemail-loss.diff in
debian/patches/series.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
14 years agoCause the build to fail if liblockfile isn't selected for movemail.
Rob Browning [Tue, 5 Apr 2011 03:46:26 +0000 (22:46 -0500)]
Cause the build to fail if liblockfile isn't selected for movemail.

The build will fail if liblockfile isn't selected for movemail.

This makes sure the Debian Emacs won't accidentally be built with the
wrong locking strategy.  To disable this check, comment out
require-movemail-use-liblockfile.diff in debian/patches/series.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
14 years agoAdjust documentation references for Debian.
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian.

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

14 years agoRemove files that appear to be incompatible with the DFSG.
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG.

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

14 years agoRun debian-startup and set debian-emacs-flavor.
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor.

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs23.
  Author: Rob Browning <rlb@defaultvalue.org>

14 years agoPrefer /usr/share/info/emacs-23 over /usr/share/info.
Rob Browning [Tue, 5 Apr 2011 03:46:21 +0000 (22:46 -0500)]
Prefer /usr/share/info/emacs-23 over /usr/share/info.

Emacs will prefer /usr/share/info/emacs-23 over /usr/share/info.

The value of Info-default-directory-list has been augmented via
site-init.el to include /usr/share/info/emacs-23 before
/usr/share/info.

14 years agorecord new upstream branch
Rob Browning [Wed, 21 Mar 2012 01:42:39 +0000 (20:42 -0500)]
record new upstream branch

14 years agoAdjust debian/changelog for UNRELEASED 23.4+1-1 development.
Rob Browning [Wed, 21 Mar 2012 01:37:37 +0000 (20:37 -0500)]
Adjust debian/changelog for UNRELEASED 23.4+1-1 development.

14 years agoMerge tag 'EMACS_23_4' into deb/emacs23/d/sid/upstream
Rob Browning [Wed, 21 Mar 2012 01:36:45 +0000 (20:36 -0500)]
Merge tag 'EMACS_23_4' into deb/emacs23/d/sid/upstream

Conflicts:
configure
doc/emacs/ChangeLog
doc/emacs/Makefile.in
doc/emacs/abbrevs.texi
doc/emacs/ack.texi
doc/emacs/anti.texi
doc/emacs/arevert-xtra.texi
doc/emacs/basic.texi
doc/emacs/buffers.texi
doc/emacs/building.texi
doc/emacs/cal-xtra.texi
doc/emacs/calendar.texi
doc/emacs/cmdargs.texi
doc/emacs/commands.texi
doc/emacs/custom.texi
doc/emacs/dired-xtra.texi
doc/emacs/dired.texi
doc/emacs/display.texi
doc/emacs/emacs-xtra.texi
doc/emacs/emacs.texi
doc/emacs/emerge-xtra.texi
doc/emacs/entering.texi
doc/emacs/files.texi
doc/emacs/fixit.texi
doc/emacs/fortran-xtra.texi
doc/emacs/frames.texi
doc/emacs/glossary.texi
doc/emacs/gnu.texi
doc/emacs/help.texi
doc/emacs/indent.texi
doc/emacs/killing.texi
doc/emacs/kmacro.texi
doc/emacs/m-x.texi
doc/emacs/macos.texi
doc/emacs/maintaining.texi
doc/emacs/major.texi
doc/emacs/makefile.w32-in
doc/emacs/mark.texi
doc/emacs/mini.texi
doc/emacs/misc.texi
doc/emacs/msdog-xtra.texi
doc/emacs/msdog.texi
doc/emacs/mule.texi
doc/emacs/picture-xtra.texi
doc/emacs/programs.texi
doc/emacs/regs.texi
doc/emacs/rmail.texi
doc/emacs/screen.texi
doc/emacs/search.texi
doc/emacs/sending.texi
doc/emacs/text.texi
doc/emacs/trouble.texi
doc/emacs/vc-xtra.texi
doc/emacs/vc1-xtra.texi
doc/emacs/windows.texi
doc/emacs/xresources.texi
doc/lispintro/ChangeLog
doc/lispintro/Makefile.in
doc/lispintro/README
doc/lispintro/cons-1.eps
doc/lispintro/cons-2.eps
doc/lispintro/cons-2a.eps
doc/lispintro/cons-3.eps
doc/lispintro/cons-4.eps
doc/lispintro/cons-5.eps
doc/lispintro/drawers.eps
doc/lispintro/emacs-lisp-intro.texi
doc/lispintro/lambda-1.eps
doc/lispintro/lambda-2.eps
doc/lispintro/lambda-3.eps
doc/lispintro/makefile.w32-in
doc/lispref/ChangeLog
doc/lispref/Makefile.in
doc/lispref/README
doc/lispref/abbrevs.texi
doc/lispref/advice.texi
doc/lispref/anti.texi
doc/lispref/back.texi
doc/lispref/backups.texi
doc/lispref/book-spine.texinfo
doc/lispref/buffers.texi
doc/lispref/commands.texi
doc/lispref/compile.texi
doc/lispref/control.texi
doc/lispref/customize.texi
doc/lispref/debugging.texi
doc/lispref/display.texi
doc/lispref/edebug.texi
doc/lispref/elisp-covers.texi
doc/lispref/elisp.texi
doc/lispref/errors.texi
doc/lispref/eval.texi
doc/lispref/files.texi
doc/lispref/frames.texi
doc/lispref/functions.texi
doc/lispref/hash.texi
doc/lispref/help.texi
doc/lispref/hooks.texi
doc/lispref/internals.texi
doc/lispref/intro.texi
doc/lispref/keymaps.texi
doc/lispref/lay-flat.texi
doc/lispref/lists.texi
doc/lispref/loading.texi
doc/lispref/locals.texi
doc/lispref/macros.texi
doc/lispref/makefile.w32-in
doc/lispref/maps.texi
doc/lispref/markers.texi
doc/lispref/minibuf.texi
doc/lispref/modes.texi
doc/lispref/nonascii.texi
doc/lispref/numbers.texi
doc/lispref/objects.texi
doc/lispref/os.texi
doc/lispref/positions.texi
doc/lispref/processes.texi
doc/lispref/searching.texi
doc/lispref/sequences.texi
doc/lispref/streams.texi
doc/lispref/strings.texi
doc/lispref/symbols.texi
doc/lispref/syntax.texi
doc/lispref/text.texi
doc/lispref/tindex.pl
doc/lispref/tips.texi
doc/lispref/two-volume-cross-refs.txt
doc/lispref/two-volume.make
doc/lispref/two.el
doc/lispref/variables.texi
doc/lispref/vol1.texi
doc/lispref/vol2.texi
doc/lispref/windows.texi
doc/misc/ada-mode.texi
doc/misc/auth.texi
doc/misc/autotype.texi
doc/misc/calc.texi
doc/misc/cc-mode.texi
doc/misc/cl.texi
doc/misc/dbus.texi
doc/misc/dired-x.texi
doc/misc/ebrowse.texi
doc/misc/ede.texi
doc/misc/ediff.texi
doc/misc/edt.texi
doc/misc/eieio.texi
doc/misc/emacs-mime.texi
doc/misc/epa.texi
doc/misc/erc.texi
doc/misc/eshell.texi
doc/misc/eudc.texi
doc/misc/flymake.texi
doc/misc/forms.texi
doc/misc/gnus-coding.texi
doc/misc/gnus-faq.texi
doc/misc/gnus-news.el
doc/misc/gnus-news.texi
doc/misc/gnus.texi
doc/misc/idlwave.texi
doc/misc/info.texi
doc/misc/mairix-el.texi
doc/misc/makefile.w32-in
doc/misc/message.texi
doc/misc/mh-e.texi
doc/misc/newsticker.texi
doc/misc/nxml-mode.texi
doc/misc/org.texi
doc/misc/pcl-cvs.texi
doc/misc/pgg.texi
doc/misc/rcirc.texi
doc/misc/reftex.texi
doc/misc/remember.texi
doc/misc/sasl.texi
doc/misc/sc.texi
doc/misc/sem-user.texi
doc/misc/semantic.texi
doc/misc/ses.texi
doc/misc/sieve.texi
doc/misc/smtpmail.texi
doc/misc/speedbar.texi
doc/misc/tramp.texi
doc/misc/trampver.texi
doc/misc/url.texi
doc/misc/vip.texi
doc/misc/viper.texi
doc/misc/widget.texi
doc/misc/woman.texi
etc/GNU
src/config.in

14 years agoUpdate debian/changelog for 23.3+1-5 release.
Rob Browning [Sun, 29 Jan 2012 20:07:24 +0000 (14:07 -0600)]
Update debian/changelog for 23.3+1-5 release.

14 years agoChange negated build-dep [!hurd-i386...] to [linux-any].
Rob Browning [Sun, 29 Jan 2012 20:01:15 +0000 (14:01 -0600)]
Change negated build-dep [!hurd-i386...] to [linux-any].

Thanks to Robert Millan <rmh@debian.org> for the report.

Closes: #634336
14 years agoAdd conflict with cedet, eieio, and speedbar.
Rob Browning [Sun, 29 Jan 2012 20:01:11 +0000 (14:01 -0600)]
Add conflict with cedet, eieio, and speedbar.

Don't allow the older standalone packages to remain installed since
they break emacs23, emacs23 includes them, and they're no longer in
unstable/testing.

Thanks to Ivan Vilata i Balaguer <ivan@selidor.net> for the report.

Closes: #632142
14 years agoAdd debian/rules support for hardened build flags.
Rob Browning [Sun, 29 Jan 2012 20:00:33 +0000 (14:00 -0600)]
Add debian/rules support for hardened build flags.

Thanks to Moritz Muehlenhoff <jmm@debian.org> for the report and the
patch.

Closes: #655118
14 years agoAdd 0019-Add-a-printf-attribute-to-movemail.c-to-allow-harden.patch.
Rob Browning [Sun, 29 Jan 2012 19:53:42 +0000 (13:53 -0600)]
Add 0019-Add-a-printf-attribute-to-movemail.c-to-allow-harden.patch.

Use varargs in movemail.c error() and add a printf attribute to
support hardened build flags.

14 years agoAdd a printf attribute to movemail.c to allow hardened build flags.
Rob Browning [Sun, 29 Jan 2012 19:42:57 +0000 (13:42 -0600)]
Add a printf attribute to movemail.c to allow hardened build flags.

Emacs should now support the -Wformat -Wformat-security
-Werror=format-security build flags.

Reported-by: Moritz Muehlenhoff <jmm@debian.org>
Author: Rob Browning <rlb@defaultvalue.org>
Date: Sun, 29 Jan 2012 13:51:13 -0600
Forwarded: bug-gnu-emacs@gnu.org
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655118
Applied-By: Rob Browning <rlb@defaultvalue.org>
14 years agoAdd 0018-Don-t-let-CEDET-execute-code-from-an-arbitrary-Proje.patch.
Rob Browning [Sun, 29 Jan 2012 19:40:42 +0000 (13:40 -0600)]
Add 0018-Don-t-let-CEDET-execute-code-from-an-arbitrary-Proje.patch.

Don't execute arbitrary elisp code from any file named Project.ede in
or above a CEDET-related directory (CVE-2012-0035).

Thanks to Florian Weimer <fw@deneb.enyo.de> for the report.

Closes: #655299
14 years agoDon't let CEDET execute code from an arbitrary Project.ede file.
Rob Browning [Sun, 29 Jan 2012 19:40:38 +0000 (13:40 -0600)]
Don't let CEDET execute code from an arbitrary Project.ede file.

CEDET will no longer execute arbitrary elisp code from any file named
Project.ede that it finds in or above a CEDET-related directory
(CVE-2012-0035).

Provided-by: Florian Weimer <fw@deneb.enyo.de>
Date: Tue, 10 Jan 2012 07:50:49 +0100
Applied-by: Rob Browning <rlb@defaultvalue.org>
Applied-Upstream: http://bzr.savannah.gnu.org/lh/emacs/emacs-23/revision/100631
Bug-Debian: http://bugs.debian.org/655299
Closes: #655299
14 years agoAdd 0017-Define-POSIX_SIGNALS-for-GNU-Hurd.patch.
Rob Browning [Sun, 29 Jan 2012 19:39:56 +0000 (13:39 -0600)]
Add 0017-Define-POSIX_SIGNALS-for-GNU-Hurd.patch.

Thanks to Samuel Thibault <sthibault@debian.org> for the report and
the patch.

Closes: #650976
14 years agoDefine POSIX_SIGNALS for GNU/Hurd.
Rob Browning [Sun, 29 Jan 2012 19:34:44 +0000 (13:34 -0600)]
Define POSIX_SIGNALS for GNU/Hurd.

Emacs will now use POSIX signals on GNU/Hurd which avoids a build
failure when a 15MiB-long write is interrupted by a signal, and Emacs
hasn't set the SA_RESTART flag.

Author: Samuel Thibault <sthibault@debian.org>
Date: Sun, 4 Dec 2011 19:47:54 +0100
Applied-By: Rob Browning <rlb@defaultvalue.org>
Forwarded: bug-gnu-emacs@gnu.org
Closes: #650976
14 years agoAdjust debian/changelog for UNRELEASED 23.3+1-5 development.
Rob Browning [Sun, 29 Jan 2012 19:32:08 +0000 (13:32 -0600)]
Adjust debian/changelog for UNRELEASED 23.3+1-5 development.

14 years ago* src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT.
HIROSHI OOTA [Wed, 25 Jan 2012 05:35:05 +0000 (13:35 +0800)]
* src/coding.c (encode_designation_at_bol): Change return value to EMACS_INT.

14 years agoBump version number to 23.4
Chong Yidong [Thu, 19 Jan 2012 15:17:57 +0000 (23:17 +0800)]
Bump version number to 23.4

14 years agoBackport fix for Bug#9318 from trunk.
Chong Yidong [Thu, 19 Jan 2012 14:55:10 +0000 (22:55 +0800)]
Backport fix for Bug#9318 from trunk.

14 years agoFix usage of unitialized local var (backport from trunk)
Paul Eggert [Thu, 19 Jan 2012 14:35:41 +0000 (22:35 +0800)]
Fix usage of unitialized local var (backport from trunk)

* src/coding.c (encode_designation_at_bol): Don't use uninitialized
local variable (Bug#9318).

14 years agoPay attention to buffer relocation on encoding (Bug#9318; backport from trunk).
Kenichi Handa [Thu, 19 Jan 2012 14:19:21 +0000 (22:19 +0800)]
Pay attention to buffer relocation on encoding (Bug#9318; backport from trunk).

Backport of revno 106613 from trunk.

14 years agoDo not use ranges in FSF copyright years in emacs-23 (do not merge to trunk)
Glenn Morris [Thu, 19 Jan 2012 07:35:35 +0000 (23:35 -0800)]
Do not use ranges in FSF copyright years in emacs-23 (do not merge to trunk)

14 years agoCopy copyright fix from r100646 to one more file.
Glenn Morris [Thu, 19 Jan 2012 07:15:48 +0000 (23:15 -0800)]
Copy copyright fix from r100646 to one more file.

14 years agoRevert unintentional addition of 2012 to Ecma copyright years.
Glenn Morris [Thu, 19 Jan 2012 07:03:15 +0000 (23:03 -0800)]
Revert unintentional addition of 2012 to Ecma copyright years.
This was done by mistake in emacs-23 r100640, and then propagated
to one more file in r100646.

14 years agoFix python-wy.el copyright header.
Chong Yidong [Wed, 18 Jan 2012 15:11:11 +0000 (23:11 +0800)]
Fix python-wy.el copyright header.

14 years agoFix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)
Yoshiaki Kasahara [Wed, 18 Jan 2012 15:01:35 +0000 (23:01 +0800)]
Fix init_buffer for USE_MMAP_FOR_BUFFERS case (backport from trunk)

* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to
aliasing change.

14 years agoReorganize Emacs 23.4 NEWS.
Chong Yidong [Wed, 18 Jan 2012 14:58:01 +0000 (22:58 +0800)]
Reorganize Emacs 23.4 NEWS.

14 years agoAdd entry for ede-project-directories to NEWS.
Chong Yidong [Sun, 15 Jan 2012 04:11:26 +0000 (12:11 +0800)]
Add entry for ede-project-directories to NEWS.

14 years ago* make-dist: Distribute the etc/grammars subdirectory.
Chong Yidong [Sun, 15 Jan 2012 03:23:43 +0000 (11:23 +0800)]
* make-dist: Distribute the etc/grammars subdirectory.

14 years agoBump version to 23.3.90.
Chong Yidong [Sun, 15 Jan 2012 03:12:31 +0000 (11:12 +0800)]
Bump version to 23.3.90.
Regenerate ldefs-boot.el and AUTHORS.

14 years agoFix wrong font metrics for mouse highlight (backport 106677 from trunk)
YAMAMOTO Mitsuharu [Sun, 15 Jan 2012 02:55:52 +0000 (10:55 +0800)]
Fix wrong font metrics for mouse highlight (backport 106677 from trunk)

* src/xftfont.c (xftfont_draw): Use the font metrics of s->font to
fill background (Bug#8992).

14 years agoSome copyright header fixes for grammar files.
Chong Yidong [Sun, 15 Jan 2012 02:48:33 +0000 (10:48 +0800)]
Some copyright header fixes for grammar files.

* etc/grammars/wisent-grammar.el: Make the Python copyright the
literally required one.

* lisp/cedet/semantic/wisent/python-wy.el: Regenerate.

* lisp/cedet/semantic/wisent/js-wy.el: Add missing copyright header

Suggested by Glenn Morris.

14 years agoFix previous ChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 19:15:24 +0000 (11:15 -0800)]
Fix previous ChangeLog date fix (no need to merge to trunk)

14 years agoChangeLog date fix (no need to merge to trunk)
Glenn Morris [Fri, 13 Jan 2012 17:26:05 +0000 (09:26 -0800)]
ChangeLog date fix (no need to merge to trunk)

14 years agoTake display-table into account on calculating character/string width (#Bug#9496).
Kenichi Handa [Fri, 13 Jan 2012 05:47:59 +0000 (14:47 +0900)]
Take display-table into account on calculating character/string width (#Bug#9496).

14 years agoTake display-table into account on calculating character/string width (#Bug#9496).
Kenichi Handa [Fri, 13 Jan 2012 05:47:28 +0000 (14:47 +0900)]
Take display-table into account on calculating character/string width (#Bug#9496).

14 years agomerge trunk
Kenichi Handa [Fri, 13 Jan 2012 04:38:45 +0000 (13:38 +0900)]
merge trunk

14 years ago* src/s/gnu-linux.h: Use CRT_DIR.
Sven Joachim [Thu, 12 Jan 2012 10:41:16 +0000 (18:41 +0800)]
* src/s/gnu-linux.h: Use CRT_DIR.

14 years ago* configure.in: Add i386 to cpp_undefs (Bug#8497).
Glenn Morris [Thu, 12 Jan 2012 10:11:38 +0000 (18:11 +0800)]
* configure.in: Add i386 to cpp_undefs (Bug#8497).

14 years agoAdd 2012 to FSF copyright years for Emacs files (do not merge to trunk)
Glenn Morris [Wed, 11 Jan 2012 07:52:35 +0000 (23:52 -0800)]
Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)

14 years agoUpdate short copyright year to 2012 (do not merge to trunk)
Glenn Morris [Tue, 10 Jan 2012 08:32:46 +0000 (00:32 -0800)]
Update short copyright year to 2012 (do not merge to trunk)

* etc/refcards/calccard.tex, etc/refcards/cs-dired-ref.tex:
* etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
* etc/refcards/de-refcard.tex, etc/refcards/dired-ref.tex:
* etc/refcards/fr-dired-ref.tex, etc/refcards/fr-refcard.tex:
* etc/refcards/fr-survival.tex, etc/refcards/orgcard.tex:
* etc/refcards/pl-refcard.tex, etc/refcards/pt-br-refcard.tex:
* etc/refcards/refcard.tex, etc/refcards/ru-refcard.tex:
* etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
* etc/refcards/sk-survival.tex, etc/refcards/survival.tex:
* etc/refcards/vipcard.tex, etc/refcards/viperCard.tex:
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Update short copyright year to 2012.

14 years agoFix uninitialized variable in note_mouse_highlight (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:49:08 +0000 (17:49 +0800)]
Fix uninitialized variable in note_mouse_highlight (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `area'.  (Bug#9947)

14 years agoAvoid crash on composition (backport from trunk).
Johan Bockgård [Mon, 9 Jan 2012 09:44:18 +0000 (17:44 +0800)]
Avoid crash on composition (backport from trunk).

* xdisp.c (fill_composite_glyph_string): Always set s->face, to
avoid a crash (bug#9496).

14 years agoFix last commit.
Chong Yidong [Mon, 9 Jan 2012 09:40:11 +0000 (17:40 +0800)]
Fix last commit.

14 years agoFix use of uninitialized var (backport from trunk).
Chong Yidong [Mon, 9 Jan 2012 09:35:21 +0000 (17:35 +0800)]
Fix use of uninitialized var (backport from trunk).

* xdisp.c (note_mouse_highlight): Fix use of uninitialized var.

14 years agoFix use of uninitialized variable (backport from trunk).
Eli Zaretskii [Mon, 9 Jan 2012 09:27:02 +0000 (17:27 +0800)]
Fix use of uninitialized variable (backport from trunk).

* xdisp.c (note_mouse_highlight): Initialize `part', to avoid a
possible random value that matches one of those tested as
condition to clear the mouse face.

14 years agoFix glitch in scrolling_window (backport from trunk).
YAMAMOTO Mitsuharu [Mon, 9 Jan 2012 09:23:36 +0000 (17:23 +0800)]
Fix glitch in scrolling_window (backport from trunk).

* dispnew.c (scrolling_window): Truncate overlaps in copy
destination of scroll runs so as to avoid assigning disabled bogus
rows and unnecessary graphics copy operations.

14 years agoBackport Bug#9990 fix from trunk
Eli Zaretskii [Mon, 9 Jan 2012 09:13:27 +0000 (17:13 +0800)]
Backport Bug#9990 fix from trunk

* src/dispnew.c (scrolling_window): Fix incorrect indices in accessing
current_matrix and desired_matrix.  (Bug#9990)

14 years agoFix EDE security flaw involving loading arbitrary Lisp from Project.ede.
Eric Ludlam [Mon, 9 Jan 2012 06:12:11 +0000 (14:12 +0800)]
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.

* lisp/ede.el (ede-project-directories): New option.
(ede-directory-safe-p): Check it.
(ede-initialize-state-current-buffer, ede, ede-new)
(ede-check-project-directory, ede-rescan-toplevel)
(ede-load-project-file, ede-parent-project, ede-current-project):
(ede-target-parent): Avoid loading in a project unless it is safe,
since it may involve malicious code.  This security flaw was
pointed out by Hiroshi Oota.

* lisp/ede/auto.el (ede-project-autoload): Add safe-p slot.
(ede-project-class-files): Projects using Project.ede are unsafe.
(ede-auto-load-project): New method.

* lisp/ede/simple.el (ede-project-class-files): Mark as unsafe.

14 years agoAdd CEDET grammar files to emacs-23 branch.
Chong Yidong [Mon, 9 Jan 2012 05:42:57 +0000 (13:42 +0800)]
Add CEDET grammar files to emacs-23 branch.

14 years ago* variables.texi (Creating Buffer-Local): Warn against misuses of
Stefan Monnier [Tue, 27 Dec 2011 23:48:53 +0000 (18:48 -0500)]
* variables.texi (Creating Buffer-Local): Warn against misuses of
make-variable-buffer-local.

14 years agoFix memory leak by y-or-n-p-with-timeout with GUI (Bug#9830).
YAMAMOTO Mitsuharu [Mon, 31 Oct 2011 03:08:54 +0000 (12:08 +0900)]
Fix memory leak by y-or-n-p-with-timeout with GUI (Bug#9830).

* xmenu.c (cleanup_widget_value_tree): New function.
(xmenu_show, xdialog_show): Use it in record_unwind_protect instead of
calling free_menubar_widget_value_tree directly (Bug#9830).

14 years agoUpdate debian/changelog for 23.3+1-4 release.
Rob Browning [Wed, 26 Oct 2011 00:59:35 +0000 (19:59 -0500)]
Update debian/changelog for 23.3+1-4 release.

14 years agoAdd 0016-Use-CRT_DIR-to-find-crt-.o-on-ppc64.patch.
Rob Browning [Wed, 26 Oct 2011 00:56:02 +0000 (19:56 -0500)]
Add 0016-Use-CRT_DIR-to-find-crt-.o-on-ppc64.patch.

Thanks to Hiroyuki Yamamoto <yama1066@gmail.com> for the report and
the patch.

Closes: #646609
14 years agoUse CRT_DIR to find crt*.o on ppc64.
Rob Browning [Wed, 26 Oct 2011 00:52:51 +0000 (19:52 -0500)]
Use CRT_DIR to find crt*.o on ppc64.

The Emacs build should now look for crt*.o in the correct multiarch
location during ppc64 builds.

Provided-by: Hiroyuki Yamamoto <yama1066@gmail.com>
Date: Wed, 26 Oct 2011 01:39:35 +0900
Applied-by: Rob Browning <rlb@defaultvalue.org>
Bug-Debian: http://bugs.debian.org/646609

14 years agoUpdate debian/changelog for 23.3+1-3 release.
Rob Browning [Tue, 25 Oct 2011 03:46:03 +0000 (22:46 -0500)]
Update debian/changelog for 23.3+1-3 release.

14 years agoAdd 0015-Look-for-crt1.o-in-the-correct-multiarch-location.patch.
Rob Browning [Tue, 25 Oct 2011 03:41:53 +0000 (22:41 -0500)]
Add 0015-Look-for-crt1.o-in-the-correct-multiarch-location.patch.

Thanks to Sven Joachim <svenjoac@gmx.de> for the report and the patch,
and and Philipp Kern <pkern@debian.org> for the 23.3+1-1.1 NMU, which
included it.

Closes: #629567
14 years agoLook for crt1.o in the correct multiarch location.
Rob Browning [Tue, 25 Oct 2011 03:29:59 +0000 (22:29 -0500)]
Look for crt1.o in the correct multiarch location.

The Emacs build should now be able to handle the fact that crt1.o is
no longer in /usr/lib.  It was moved to support multarch.

Provided-by: Sven Joachim <svenjoac@gmx.de>
Date: Sat, 25 Jun 2011 08:25:48 +0200
Applied-by: Rob Browning <rlb@defaultvalue.org>
Bug-Debian: http://bugs.debian.org/629567
Applied-Upstream: http://lists.gnu.org/archive/html/emacs-diffs/2010-04/msg00325.html

14 years agoUpdate debian/changelog for 23.3+1-2 release.
Rob Browning [Mon, 24 Oct 2011 02:02:04 +0000 (21:02 -0500)]
Update debian/changelog for 23.3+1-2 release.

14 years agoPass the correct crt-dir to ./configure for multiarch.
Rob Browning [Sat, 8 Oct 2011 03:54:21 +0000 (22:54 -0500)]
Pass the correct crt-dir to ./configure for multiarch.

Thanks to Sven Joachim <svenjoac@gmx.de> for the report and the patch,
and thanks to Philipp Kern <pkern@debian.org> for the 23.3+1-1.1 NMU
which included the patch.

Closes: #629567
14 years agoBuild-depend on libjpeg-dev rather than libjpeg62-dev.
Rob Browning [Sat, 8 Oct 2011 15:50:48 +0000 (10:50 -0500)]
Build-depend on libjpeg-dev rather than libjpeg62-dev.

Thanks to Bill Allombert <ballombe@debian.org> for the report and
Philipp Kern <pkern@debian.org> for the 23.3+1-1.1 NMU which included
a patch.

Closes: #633744
14 years agoDrop dh --with autotools_dev; it doesn't work if config.* files are missing.
Rob Browning [Sat, 8 Oct 2011 16:25:36 +0000 (11:25 -0500)]
Drop dh --with autotools_dev; it doesn't work if config.* files are missing.

14 years agoDon't test for src/emacs.c in rules since the whole tree is in git now.
Rob Browning [Sat, 8 Oct 2011 16:08:03 +0000 (11:08 -0500)]
Don't test for src/emacs.c in rules since the whole tree is in git now.

14 years agoDon't explicitly add leim to locallispath since it's no longer necessary.
Rob Browning [Mon, 18 Apr 2011 00:38:48 +0000 (19:38 -0500)]
Don't explicitly add leim to locallispath since it's no longer necessary.

Closes: #476660
14 years agoAdjust debian changelog and rules for UNRELEASED 23.3+1-2 development.
Rob Browning [Sun, 23 Oct 2011 06:21:11 +0000 (01:21 -0500)]
Adjust debian changelog and rules for UNRELEASED 23.3+1-2 development.

14 years agoAdd 0014-Add-i386-to-cpp_undefs-in-configure.in-to-fix-i386-m.patch.
Rob Browning [Sun, 23 Oct 2011 06:19:46 +0000 (01:19 -0500)]
Add 0014-Add-i386-to-cpp_undefs-in-configure.in-to-fix-i386-m.patch.

Thanks to Steve Langasek <steve.langasek@canonical.com> for the
report, Sven Joachim <svenjoac@gmx.de> for the patch, and Philipp Kern
<pkern@debian.org> for the 23.3+1-1.1 NMU, which included it.

Closes: #620795
14 years ago* src/keymap.c (Fsingle_key_description): Use make_specified_string
Andreas Schwab [Mon, 19 Sep 2011 21:15:47 +0000 (23:15 +0200)]
* src/keymap.c (Fsingle_key_description): Use make_specified_string
instead of build_string to build string from push_key_description.
(Bug#5193)

14 years ago* xdisp.c (expose_window): Save original value of phys_cursor_on_p and turn window...
YAMAMOTO Mitsuharu [Sat, 10 Sep 2011 06:54:04 +0000 (15:54 +0900)]
* xdisp.c (expose_window): Save original value of phys_cursor_on_p and turn window cursor on if cleared (Bug#9415).

14 years ago* src/search.c (boyer_moore): Take unibyte characters from pattern
Andreas Schwab [Wed, 7 Sep 2011 16:48:37 +0000 (18:48 +0200)]
* src/search.c (boyer_moore): Take unibyte characters from pattern
literally.  (Bug#9458)

14 years agoFix syntax scanning bug causing fontification crashes.
Chong Yidong [Tue, 30 Aug 2011 22:38:07 +0000 (18:38 -0400)]
Fix syntax scanning bug causing fontification crashes.

* src/syntax.c (find_defun_start): Update all cache variables if
exiting early.

14 years ago* dic/lispref/lists.texi (Building Lists): Fix typo.
Dani Moncayo [Sun, 28 Aug 2011 19:08:45 +0000 (15:08 -0400)]
* dic/lispref/lists.texi (Building Lists): Fix typo.

14 years agoBackport r104485 (Bug#8799) from trunk
Chong Yidong [Sun, 21 Aug 2011 03:12:26 +0000 (23:12 -0400)]
Backport r104485 (Bug#8799) from trunk

14 years agoBackport r104485 (Bug#8799) from trunk
Chong Yidong [Sun, 21 Aug 2011 03:12:09 +0000 (23:12 -0400)]
Backport r104485 (Bug#8799) from trunk

14 years agoBackport license fix from trunk (remove duplicate, incorrect license).
Glenn Morris [Sat, 20 Aug 2011 22:14:27 +0000 (15:14 -0700)]
Backport license fix from trunk (remove duplicate, incorrect license).

14 years agoFix implicit declaration of kbd_on_hold_p
Andreas Schwab [Fri, 19 Aug 2011 15:58:27 +0000 (17:58 +0200)]
Fix implicit declaration of kbd_on_hold_p

* keyboard.c: Include "process.h"

14 years ago* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554).
Chong Yidong [Tue, 9 Aug 2011 21:55:34 +0000 (17:55 -0400)]
* hi-lock.el (hi-lock-unface-buffer): Fix interactive spec (Bug#7554).

14 years agoFixes: debbugs:6594
Andreas Schwab [Thu, 28 Jul 2011 18:40:28 +0000 (20:40 +0200)]
Fixes: debbugs:6594
* lisp/xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
character.

14 years agoBackport r100703 from trunk.
Chong Yidong [Thu, 28 Jul 2011 15:47:17 +0000 (11:47 -0400)]
Backport r100703 from trunk.
This is required by the recent --reverse-video fix.

2011-07-28  Eli Zaretskii  <eliz@gnu.org>

* xfaces.c (update_face_from_frame_parameter): Move out of
HAVE_WINDOW_SYSTEM portion.  Condition window-system only parts
with HAVE_WINDOW_SYSTEM.

14 years agoBackport r100703 from trunk
Chong Yidong [Thu, 28 Jul 2011 15:45:07 +0000 (11:45 -0400)]
Backport r100703 from trunk

14 years ago* fontset.c (fontset_get_font_group): Add proper type checks.
Andreas Schwab [Tue, 26 Jul 2011 11:00:23 +0000 (13:00 +0200)]
* fontset.c (fontset_get_font_group): Add proper type checks.
(Bug#9172)

14 years agoSupport LC_FUNCTION_STARTS load command on Darwin.
YAMAMOTO Mitsuharu [Sat, 23 Jul 2011 04:04:58 +0000 (13:04 +0900)]
Support LC_FUNCTION_STARTS load command on Darwin.

14 years agoMerge fix for Bug#4238 from trunk
Chong Yidong [Fri, 22 Jul 2011 15:23:43 +0000 (11:23 -0400)]
Merge fix for Bug#4238 from trunk

14 years agoMerge fix for Bug#4238 from trunk
Chong Yidong [Fri, 22 Jul 2011 15:23:10 +0000 (11:23 -0400)]
Merge fix for Bug#4238 from trunk